package com.zkthink.ceres.promotion.vo.web;


import com.zkthink.ceres.promotion.dto.OwnSalesDTO;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.*;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.Collections;
import java.util.List;

@Data
@AllArgsConstructor
@Accessors(chain = true)
@ToString(callSuper = true)
@EqualsAndHashCode(callSuper = false)
@Builder
@ApiModel(value = "OwnSalesVO", description = "拥有的分销商")
public class OwnSalesVO implements Serializable {
    private static final long serialVersionUID = 1L;


    public OwnSalesVO() {
        this.total = 0;
        this.ownSalesDTO = Collections.emptyList();
    }

    @ApiModelProperty("拥有的分销商")
    private List<OwnSalesDTO> ownSalesDTO;

    @ApiModelProperty("总数")
    private Integer total;


}
